<div style="background-color: beige; height: 30"></div>
<div style="position: absolute; margin-top: -24">This text should appear inside the beige bar, due the the element's negative margin-top.</div>